/*
 * DTOEvent.h
 *
 *  Created on: Oct 13, 2011
 *      Author: gonzalo
 */

#ifndef DTOEVENT_H_
#define DTOEVENT_H_

#include "DTO.h"

class DTOEvent : public DTO{
public:
	DTOEvent(int keyUnicode,
			int type,
			int h,
			int w,
			int x,
			int y,
			int code,
			int buttonState,
			int key,
			std::string owner);
	DTOEvent(std::string& aDeserealizar,std::string owner);


	virtual ~DTOEvent();

	virtual std::string serializar();

	int keyUnicode;
	int type;
	int h;
	int w;
	int x;
	int y;
	int code;
	int buttonState;
	int key;
protected:
	virtual void deserializar(std::string& string);
private:



};

#endif /* DTOEVENT_H_ */
